package 模板方法;

/**
 * @program: leetcode
 * @description:
 * @author: HuRan QQ1345122890
 * @create: 2021-11-07 13:04
 */
public class Main {
    public static void main(String[] args) {
        AbstractDisplay dl=new CharDisplay('H');
        AbstractDisplay d2=new StringDsiplay("Hello,World.");
        AbstractDisplay d3=new StringDsiplay("你好时间");
        dl.display();
        d2.display();
        d3.display();
    }
}